package drrr.orm;

import org.springframework.orm.hibernate4.support.HibernateDaoSupport;

import java.util.List;

/**
 * Store All of the Known DAO
 * And Store the unknown DAO which extends from org.springframework.orm.hibernate4.support.HibernateDaoSupport as List
 * <b>do not use this class in other package</b>
 * Created by Xun on 2015/4/18.
 */
class AllDao {
    private List<HibernateDaoSupport> daoList;

    private UserDao userDao;
    private RoomDao roomDao;
    private RoomChatListDao roomChatListDao;
    private RoomMemberDao roomMemberDao;


    public RoomMemberDao getRoomMemberDao() {
        return roomMemberDao;
    }

    public void setRoomMemberDao(RoomMemberDao roomMemberDao) {
        this.roomMemberDao = roomMemberDao;
    }

    public RoomChatListDao getRoomChatListDao() {
        return roomChatListDao;
    }

    public void setRoomChatListDao(RoomChatListDao roomChatListDao) {
        this.roomChatListDao = roomChatListDao;
    }

    public RoomDao getRoomDao() {
        return roomDao;
    }

    public void setRoomDao(RoomDao roomDao) {
        this.roomDao = roomDao;
    }

    public List<HibernateDaoSupport> getDaoList() {
        return daoList;
    }

    public void setDaoList(List<HibernateDaoSupport> daoList) {
        this.daoList = daoList;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

}
